package com.acme.bankapp.exceptions;

/**
 * Created by Student on 17.11.2014.
 */
public class NotEnoughFundsException extends BankException {
    private double amount;

    public NotEnoughFundsException(double amount) {
        super("Not enough " + amount + " funds");
        this.amount = amount;
    }

    public double getAmount() {
        return amount;
    }

}
